package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 孙子刷新可选天赋
 */
@FieldTypeAnnotation(tableName = "t_l_ck_grand_child_refresh_talent", desc = "孙子天赋日志", autoSave = true, uploadCk = true)
public class LogGrandChildRefreshTalent extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "孙子ID")
    private String id;
    @FieldTypeAnnotation(desc = "旧可选天赋")
    private List<Integer> oldList;
    @FieldTypeAnnotation(desc = "新可选天赋")
    private List<Integer> newList;

    public LogGrandChildRefreshTalent(long userId, String id, List<Integer> oldList, List<Integer> newList) {
        this.userId = userId;
        this.id = id;
        this.oldList = oldList;
        this.newList = newList;
    }

    public long getUserId() {
        return userId;
    }

}
